﻿using System;
using EPiServer.Core;
using PageTypeBuilder;

namespace JoelAbrahamsson.FeedImport
{
    [PageType]
    public class SyndicationFeedItem : TypedPageData
    {
        [PageTypeProperty(Type = typeof(PropertyString), SortOrder = 1)]
        public virtual string Title { get; set; }

        [PageTypeProperty(SortOrder = 2)]
        public virtual string Summary { get; set; }

        [PageTypeProperty(SortOrder = 3)]
        public virtual DateTime PublishDate { get; set; }

        [PageTypeProperty(Type = typeof(PropertyString), SortOrder = 4)]
        public virtual string Url { get; set; }
    }
}